import React, { Component, PropTypes } from 'react';
import ReactDOM, { render } from 'react-dom';
import { Provider } from 'react-redux';
import route from './router/RouteMap';//路由
import store from './store/Store';//store 是应用状态 state 的管理者
import '../style/app.less';

/*
* 入口基页
* */
store.subscribe(function () {
    // console.log(store.getState());
});

render(
    <Provider store={store}>
        {route}
    </Provider>,
    document.getElementById('app')
)

